import { GraphConfigData } from "@logicflow/core";
import { TestData } from "./type";

export default function LogicDataToTestData(data: GraphConfigData, output: string) {
    const test = { input: {}, output } as TestData

    //@ts-ignore
    test.input = data

    return test
}
